<?php

if (!defined(TEMPLATE_DIR)) {
    define(TEMPLATE_DIR, '.');
}

class Adept_Locator_Template extends Adept_Locator
{

    static protected $instance = null;
    
    public function __construct() 
    {
        parent::__construct(array("."));
        $this->addLocation(TEMPLATE_DIR);
    }	
    
    /**
     * @return Adept_Locator_Template
     */
    static public function getInstance() 
    {
    	if (self::$instance == null) {
    		self::$instance = new self();
    	}
    	return self::$instance;
    }
    
}
